package com.example.lottery.config;

import com.example.lottery.entity.Award;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author 23050
 * @version 1.0
 * @description: 奖项配置类
 * @date 2023/12/5 14:49
 */
@Data
@ConfigurationProperties(prefix = "lottery")
public class LotteryConfig {

    private int lotteryNumber;
    private List<Award> awards;


}
